Using MVVM Light with your Xamarin Apps by Paul Johnson

Using MVVM Light with your Xamarin Apps by Paul Johnson

Author:Paul Johnson
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


The Setup

The application is set up to have a single-tab layout with three views coming from it. The List page contains a simple list, the Data page contains some static text, and the Rotate page allows an image to be rotated. Each platform has its own UI and is attached to the view model as it would be for any other app.

If we look at how the platforms link up to the view models—and specifically, how they navigate—we can see that allowances have to be made for the TabHost/Pivot layouts.

The data page pulls in the model and creates a list view/table view for the platform and populates it, while the rotate page places an image on screen and allows for the image to be rotated.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.